<section class="sec-comments">
  <p class="p-sec-title">评论</p>
  <div class="box-input">
      <input type="text" class="ipt-comment" id="ipt-comment" placeholder="我也来说一句：">
    <button class="btn-send">发送</button>
  </div>
  <button class="btn-new-msg hide">有新的评论，点击查看</button>
  <div class="comments-list">
  <% if(rows.length!=0){
  rows.forEach(function(el) {%>
    <div class="box-comment" value="<%=el.id%>" nickname="<%=el.user.nickName%>">
      <div class="box-comment-usr">
        <img src="<%=el.user.avatar%>" alt="" class="img-comment-avatar">
        <div class="box-comment-nick">
          <p class="p-comment-name"><%=el.user.nickName%>
          <%if(el.targetUser!=null){%>
          <span class="color-grey"> 回复 </span><span><%=el.targetUser.nickName%></span>
          <%}%>
        </p>
          <p class="p-comment-time"><%=el.dateTime%></p>
        </div>
      </div>
      <div class="box-comment-main">
        <p class="p-comment-main"><%=el.content%></p>
      </div>
    </div>
  <%})}%>
</div>
<button class="btn-more-comments">查看更多评论</button>
</section>
